<template>
  <base-layout>
    <template v-slot:aside-header>
      <student-aside-header></student-aside-header>
    </template>
    <template v-slot:aside-main>
      <student-nav></student-nav>
    </template>
    <template v-slot:main>
      <router-view></router-view>
    </template>
  </base-layout>
</template>

<script>
import BaseLayout from "@/components/BaseUI/BaseLayout";
import StudentNav from "@/components/student/StudentNav";
import StudentAsideHeader from "@/components/student/StudentAsideHeader";

export default {
  name: "StudentLayout",
  components: {StudentAsideHeader, StudentNav, BaseLayout},
  props:{
    sid:String
  },
  created() {
    this.$store.dispatch("getStudentBaseData", this.sid)
  },
}
</script>

<style scoped>

</style>